package player;
import javax.swing.ImageIcon;
import javax.swing.JFrame;

import GAME.game;
import weaponrelated.bullet;
import weaponrelated.machinegun;
import weaponrelated.*;

public class raptor extends player {
	public raptor(game g){
		
		game=g;
		this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("resources/raptoradelante.png")));
		vel=8;
		hp=100;
		arma=new machinegun(g,this);
		
		
	}
	
	public void seticonoderecha(){
		this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("resources/raptorderecha.png")));
	};
	public void seticononormal(){
		this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("resources/raptoradelante.png")));
	};
	public void seticonoizquierda(){
		this.setIcon(new ImageIcon(getClass().getClassLoader().getResource("resources/raptorizquierda.png")));
	}
	

	
	

}
